<%@ page language="java" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="topbar">
	<div class="container clearfix">
		<ul class="actions">
			<li><a href="<%=request.getContextPath() %>/changeLang.jsp?lang=en_US&amp;return_url=/index.jsp
			">English</a></li>
			<li><a href="<%=request.getContextPath() %>/changeLang.jsp?lang=zh_HK&amp;return_url=/index.jsp
			">繁體</a></li>
			<li><a href="<%=request.getContextPath() %>/changeLang.jsp?lang=zh_CN&amp;return_url=/index.jsp
			">簡體</a></li>
		</ul>
		<div class="warningbox">This web site exists to fulfill the coursework requirement of CS4280.
<strong>Do not</strong> use your real personal data as input.</div>
	</div>
</div>
<div id="header" class="container">
	<div class="logo">
		<a href="/cinema"><img src="/cinema/img/logo.png" /></a>
	</div>
	<div id="menu">
		<ul>
			<li><a href="cinema.do">Cinemas</a></li>
			<li><a href="ticketing.do">Ticketing</a></li>
			<li><a href="upcoming.do">Upcoming</a></li>
			<li><a href="register.jsp">Register</a></li>
			<c:if test="${empty sessionScope.loggedInUser}">
				<li><a href="login.jsp">Login</a></li>
			</c:if>
			<c:if test="${not empty sessionScope.loggedInUser}">
				<li><a href="member.do">Member Area</a></li>
				<li><a href="logout.jsp">Logout (${sessionScope.loggedInUser.login})</a></li>
			</c:if>
		</ul>
	</div>
</div>
